Black comedy (also known as dark comedy or dark humor) is getting humor (something funny or comical) from something serious. It is known for its use of very sensitive subjects, such as war, tragedy, disease, death and suffering of the innocent. Black comedy is also a form of satire that uses irony and mocking. It may cause a wide variety of emotional reactions.
Some famous examples of black comedy include South Park, Waiting for Godot, Happy Tree Friends, Charles Addams' cartoons, Catch-22, Dr Strangelove, Harold and Maude, and plays by Joe Orton, the novel film and early TV episodes of M*A*S*H, Itchy and Scratchy from The Simpsons, cartoons by John Callahan, SuperMarioLogan, etc.