My comment explicitly allows for good faith interest in someone's situation. It's certainly not a suggestion that such comments shouldn't get engagement.
It's possible to speak up and do so more considerately and thoughtfully than is typically done in response to such comments.