1. A comedy having gloomy or disturbing elements, especially one in which a character suffers an irreparable loss.
2. A comedy characterized by morbid or grimly satiric humor.
see Gallows Humor
A good example of dark comedy is the series "Dead Like Me", a show with grim reapers and afterlife themes.