This question has some odd text at the end that looks like a comment. When I try to edit it out, it doesn't appear in the editable text. Is this something added by the SO engine? And why is it repeated so many times?
Looks like someone edited it already, and maybe there was a clash there.
The user repeated it because they were getting that very message when trying to post their question, because it was pretty much just the code. So they spammed that text in there to get around that automated quality control mechanism. (You were definitely right to want to edit it out)