Smile. If the joke fell like you, this answer would be sufficient. If the joke you didn't like it, especially the smile. Your smile can be quite brief. But the source is convinced that you "understood" his intention to make a joke. If you will not blame him, he can be sensitive and watch you why the joke did not amuse you as well as him. He, too, can say nothing, but to make a conclusion for myself, that so to joke with you not to be.Some jokers from the 1st time you do not understand the inappropriateness of jokes. Be patient and conduct an experiment with a smile" a few times. Please, be patient. And immediately go about your business. Man enough will know that you are not participate in his elation. In the future he will choose someone else to be jokes. And you will say that you can't take a joke. But you will remain a good relationship.
Think about where you can apply this joke. If it seems appropriate in some situation, immediately tell the source. You praise him for his sharp mind and quick wit. People will be very happy that you want to apply his work. When I joke this way with other people, don't forget to tell about their reactions to the author jokes. This will panic him.
Praise, make a comment and again praise. If the joke hurts you hurt, do not rush to "explode". Immediately leave the room. Calm down, drink some water. Do not leave the interlocutor for a long time, come back to it. Praise him for his intention to make a joke. Then note that the joke may be good, but not for you or not in this situation. And again praise. Your praise will save a person from having to be angry and make excuses. This behavior will be the best response to a bad joke.
Post a good joke on the Internet and give a link to your interlocutor. He will be glad that you did. Especially if you hint in the message who it was joking and how you reacted. This step is another way the answer to the joke.
Some people are kidding and just trying to be funny. They do it clumsily, from lack of communication. They want someone to talk to. Not to alienate such people with awkward silence in response to a joke. Be ironic to yourself, laugh at what you today, absolutely no sense of humor. Appropriate tact on your part will support a person.
Sometimes you may feel that all around are cute. Joke, joke mutually, and you head does not come. Remember that there is a universal response to a joke, a genuine laugh. Learn to laugh, then my friends like to joke with you.