From Longman Dictionary of Contemporary Englishblack comedyˌblack ˈcomedy noun [countable, uncountable] AMAPa play, story etc that is funny, but also shows the unpleasant side of human life
Examples from the Corpus
black comedy• Alternatively the violation can be inverted; like a black comedy, or the assertion of a stark revenge or retribution.• I thought it was a campy black comedy.• This was on-the-edge black comedy that dispelled any vestige of condescension that might have been felt towards the performers.• This haunting black comedy touches and menaces in equal parts.• And then there is black comedy.