I think that may be a very cultural thing. I love gallows humor (I understand, enjoy, and cultivate it myself), but some cultures don't even understand it.
For example, if you try pulling US-style toxic positivity on a dev team from Poland or Russia, the result isn't going to be pretty all around.