A comment to this answer is incorrect. Should I delete it?
You can - it's common practice if something one writes is completely wrong, and nothing is to be gained from keeping it there.
However, if there are replies to the comment (as there are in your case), and the mistake you made is likely to be common, it may be worth leaving it in place to preserve the meaning of the conversation. It's up to you.