You misunderstand. I rarely thank someone for doing their chosen job, maybe a social worker or medical professional but still rarely.
My comment was in surprise because I thought this had turned into a meme and/or joke — it has in my social circles. The only time I hear anyone use this line is when we’re doing it to annoy our friends who were in the military as a vector of jovial ribbing and shared mockery.