It really boils down to this: Make a positive contribution to the community.
Don’t be an annoying self-promoting spammer. Don’t spout too much filth. (We all get a little bit dirty now and then after all.) And keep our list of things to avoid in mind.
https://gizmodo.com/commenting-faq-what-to-avoid-5605747
Follow those instructions and you’ll be a good commenter. Follow them and be particularly interesting, funny, or helpful and you’ll be star-worthy.