Actually, the Bible itself uses humor in some morbid situation; take for example how the prophet Elijah taunts the priests of Baal in the challenge on Mount Carmel.
There are clear examples of humor even by God Himself in the Psalms and also in Paul's epistles.
"There's a time for every purpose under heaven."