No jokes are allowed in any religious matter. Quran is warning us not to do that at all (Sura 9, verse 65). People make jokes about matters or persons of less respect to them. You don't find a respected person making jokes about his father or mother.
Jokes about any religious matter makes people under evaluate the religious matter and even disrespect it sometimes. Those who mock on religious matters are warned in Quran with severe punishment.