I shower regularly now but a few years ago I had major depression and stopped showering for months. I could barely motivate myself to breathe. I'm not even kidding, I was so depressed I was struggling to breathe. People don't realize just how much effort it takes to do basic things like eat, brush your teeth, or even get out of bed when you have no will to be alive.
Even so, no one ever commented on it. Not even close family. I've always had super dry skin and I noticed that during this period my skin was actually somewhat normal. It's possible no one said anything out of kindness but I doubt it tbh. Some people just sweat/smell less than others.