I asked a question (here, although I don't think it's relevant), which was answered by a user called Sweeper.
I found a small bug in the code provided in the answer, edited the answer and then added a comment elaborating on the edit message. Probably redundant, but felt like a friendly thing to do. I'll delete the comment if Sweeper replies or in a few days. I tried to mention Sweeper, by writing "@Sweeper, having tested this ...". When I was writing the comment, I noticed that the usual autocomplete popup didn't display, but thought nothing of it. When I submitted the comment, however, the "@Sweeper" was removed from the comment, leaving just "having tested this...".
I assume this is at least semi-deliberate, as I understand that there's no need to mention the author of a post when commenting, because they'll be notified anyway, but just silently removing my text seems odd. The reason I included it was because I wanted to be clear that the comment was specifically directed at the author, not a more general point about the answer.
While I understand that the mention is redundant, I'm not sure there's any benefit to removing the text, and there's a definite drawback in that the text no longer says what the user intended. In my case it didn't change the context (although it left me with a lower-case letter at the start of a sentence - yuck!), but I'm sure there are plenty of cases where it would.