It is a joke but the context doesn't exactly make it funny.
I've seen similar things before and I believe it's passive aggressive behavior. Usually I find myself overthinking it.
Anymore these days, if I see stuff like this in my life, I chalk it up to just another form of the quack.