Looking at the answer for the first time (I didn't handle your flag), I had a hard time figuring out where exactly the "thank you" portion of the answer was — turns out, it was in the same code block as the rest of the code that the user had copied and pasted into their answer, which they did as an attempt at "quoting" the answer.
When a user either goes out of their way to make their post hard to decipher, or is so spectacularly in over their head at figuring out how formatting on the site works... that's something you've really gotta spell out for everyone.
When you encounter a thank-you answer that (attempts to) quote the answer the user is thanking in such a way that it's not immediately obvious it's simply a thank-you answer, feel free to use the following as a template when flagging it:
This is not an answer, but an attempt at thanking an existing answer by copying it.
(You could also just call it plagiarism, but that doesn't exactly work with the rare thank-you answer that somehow manages to get the quote formatting and attribution right... I could have sworn I've handled at least one such case.)