Chat allows two minutes for editing a message, and if there are less than 10 seconds left for editing a chat message, the following warning is displayed:

You have less than 10 seconds left for editing.

This value may be less than 10 if the edit was started with less than 10 seconds remaining. Once this time expires, the edit cannot be submitted.

While comments to questions and answers can be edited for five minutes, no warning is displayed if time is about to expire while editing, and a user can attempt to submit an edit to a comment after time expires only to get the "Comments can only be edited for 5 minutes" error.

It would be a good idea to add this warning for editing comments, perhaps starting from 15 seconds, with the submit button disabled once the timer expires. That way, the user doesn't get frustrated if time runs out. In any case, if the user feels the edit is necessary anyway, the Markdown code of the comment can be copied, a new comment can be posted, and the old comment can be deleted.

This would also address the problem described in this question by ensuring that the user knows whether he/she is running out of time to submit the edit.


This places an unnecessary degree of importance on content that is considered to be secondary to that of questions and answers. When it comes down to it, comments are not designed to be permanent. Some might even go so far as to suggest that they are temporary in nature.

Thus, unlike a question or an answer, a comment does not need to be a shining example of your best work.

Mat says it best in this answer:

Just post a follow-up comment if you want to clear up something you said previously. Breaking the "comment thread" is not a big deal. If you have more involved discussions around a question or answer, use the chat feature.

Thus, if you have a typo in your comment, one that makes the comment unreadable or introduces the potential for misinterpretation, simply delete it and resubmit it.

In this answer, Sha Wiz Dow Ard suggests a few different ideas for cases where another user has an issue with their comment and also reiterates the points I've made:

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 comment.

Also, it's clear that comments shouldn't contain information that is needed by future visitors. This should be incorporated into the post body with an edit.

In short, adding such a feature would place too much importance on something that is only designed to clarify a post with the intention of improving it. Therefore, you don't need to worry about your comments getting stuck with a typo. Hope this helps!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .