What rules do moderators use to delete comments? I know it needs to be done, some times it seems very OVER done. So I was hoping there was some particular guideline I could read; it would help me when I write comments to know of all my hard work answering in comments rather than an "answer" will be wiped out.

While I do have a particular case in mind: http://stackoverflow.com/questions/35964921/sending-email-from-php-with-email-list-file

Of course, no one can see the over an hour of comments that finally got this answered - despite the dupe hold.

It's not the first time this has happened to me, so I'm just seeking clarification.