tragicomedy

noun

1.
a dramatic composition involving elements of both tragedy and comedy usually with the tragic predominating
2.
a comedy with serious elements or overtones
Derived from:
tragicomical