Gallows humor
Gallows humor is humor about very unpleasant, serious, or painful circumstances. Any humor that treats serious matters, such as death, war, disease, crime, etc., in a light, silly or satirical fashio...
Gallows humor - Wikipedia