In the human services professions we used to call this sort of thing "gallows humor". There's a place for it. Sometimes it's necessary in order to keep doing what one does knowing, in the long run, it won't really make much of any difference at all.

But, of course, as with anything it can be overdone. I haven't personally seen anything of this sort related to the current pandemic situation.