I believe I might understand your frustration with his attempt at a joke. There's quite a difference between successfully telling a joke that's appropriate for a situation, or telling one out of mimicry simply because you've observed other people tell it successfully. In the latter scenario, there seems to be no sincere weight or cleverness behind the joke; rather a shallow repetition.
As none of us were there to hear his delivery, I'm only making an assumption. I commented as such because I work with another man who has been diagnosed with Asperger's Syndrome, and while I refrain from participating in any and all humorous banter, he does not. He goes to great lengths to repeat jokes that he feels might be appropriate, but they only yield stares or awkward laughter. It casts a light of annoyance on him and he's regularly avoided.
Is this in the same realm as what you've observed with your acquaintance?