There's two small updates to comments that I think would make them a lot more user-friendly for editing, and reduce how often this error is shown to users:

* Hide the "edit" link client-side when the 5 minutes are up
* Allow 1 minute extra "grace period" for when the edit box is already open (just extend the edit duration to 6 minutes)

There've been plenty of times when it says the comment says it was 4 minutes prior and I notice a typo, then quickly try to edit it and get the error because it rolled over 5 minutes right at that time.

(And I suspect the timestamp isn't updating as quickly as it should be, which just makes this happen more often - still saying "4 minutes ago" when the 5-minute limit has already passed)