Not worth doing it in my opinion.
Comments must not contain anything valuable in the first place, surely not any code. Such things are better added to the post itself.
If there is glaring error in your own comment, new or old, just delete it and maybe add new comment explaining the "gap" in the other comments. If the problem is with comment made by other user, flag it choosing the relevant reason. Enough flags (depends on the comment votes) will automatically delete the commentwill automatically delete the comment.