I went to check my flag history, only to see this big banner:
I clicked on the button, and saw eight declined flags. Five of those were comment flags, which do not count towards bans (reconfirmed today by Shog).
I was testing out bugs in the new comment flagging functionality in order to report them, and initially thought that the declined comment flags (you can't retract comment flags) were the ones that caused me to get banned. However, according to the above links, this isn't the case.
Can we exclude comment flags from the view triggered by the banner, since those don't count towards bans?