You hit the nail at the right spot there.
It's not just about comment ,it's about engaging the user. Give them something they can't ignore and makes them feel appreciated. Most importantly comment with sincerity and not having to impress them at the back of your mind.
Nice piece man Thanks for it