Sigh. Someone flagged it.
Here is the whole comment exchange, now deleted:
We have many users who are obsessed with cleaning up what they perceive as "noise" in the comments. Since you had already edited the answer accordingly, your comment reply got flagged as essentially being obsolete. Appearing to be a valid flag, I complied and removed it.
After this Meta question was posted, another moderator removed the original comment to which you were replying. That one should have been flagged originally at the same time as your response, but for some reason, it wasn't. And when moderators are responding to comment flags, we don't always click through to the post to read all of the comments. Personally, I usually try to do this so I can do a better job of cleaning up, but apparently I didn't do it this time.
As others have said, the official line here is that comments are ephemeral, that they can go away at any time. I don't care to get into it now, so let's just say that I am only in partial agreement with that. In any case, I do absolutely agree that anything important in comments should always be incorporated into the post proper (for more reasons than just ephemerality). You did that here, so you were doing everything right.
The flagger wasn't wrong, either. The comment had ostensibly served its purpose, you'd put the information into the answer, and so it didn't need to be there anymore.
The biggest issue with overzealous deletion of "obsolete" comments is that, as in this case, the user to whom you were replying may not have noticed the update of your answer. This is especially a problem for new users (again, as in this case), who aren't as familiar with how the site operates, and may not know to continually monitor existing answers for updates.
I would prefer that people didn't flag comments like this until they were at least several days old, ensuring that an interested party would have ample time to notice. Don't Panic makes a valid point in reminding us that we're here for the long haul, "to build a library of detailed answers to every question about programming", and that "helping the OP is [only] a nice side effect". He's right, of course, and I one-hundred percent agree with this logic. But it is a nice side effect, and where the two goals don't conflict, we should be helpful.
And in cases where the noise is only a whisper, well, it'll take some work to convince me that they're worth flagging at all. I'd rather spend time dealing with real problems: comment threads that have more than 10 comments posted, answers that are garbage, questions that are garbage, garbage that is garbage, etc.