Funny and not funny all at the same time. Clever though.
Gallows humor.
Gotta keep laughing or you might start screaming.