I think it’s funny.
It’s called gallows humor.
Gallows humor is most appreciated by folks who (figuratively) face the gallows.