I recently wrote a question about hiding for me personally all comments by a user who left many irritating useless comments under posts in a tag I'm active in.
I was looking for this because I assumed that actions of this user would not result in their ban: after all, comments are ephemeral, and could be rather quickly removed with "no longer needed" flags.
But today I've noticed one of their answers with reputation set to 1. I can see that they were banned. Assuming bans are usually for some round period, and their last activity, most likely they were banned for a month. Also, I see that all their comments are removed.
I understand that it is not allowed for moderators to discuss actions regarding other users, unless the user in question specifically allows this. But I would like to know in general if my assumption about bans for comments was wrong, and if there is a possibility to be banned for many raised "no longer needed" flags on your comment. Or might something like this happen only if somebody raises a custom flag, and a moderator finds a reason for ban (and what this reason might be)?
TL;DR If a user writes too many comments unrelated (or very loosely related) to matter of the question, can this user be banned?