When I get the urge to say something in these situations I always aim the conversation at the child (so long as it is clear that I am another parent and not a random woman who talks to little children). That way you get the need to say something out without ever really engaging with the parent.