"Dark humor" refers to jokes or comedy that tackles sensitive or taboo topics, such as death, tragedy, or illness, in a way that may be considered shocking or disturbing to some people.
I remember the days of finding dark humor in seeing just how bad the run differential could become. (sbnation.com)
After deploying some brutally dark humor at their expense, now «The Campaign» shifts gears and wants us to consider the actual repercussions. (ericdsnider.com)