yeah that's a good idea
my way would be to add a "comment history" thing that shows previous "versions" of the edited comment (i pulled this from FANDOM ofc, which also happens to have the time-limit mentioned in post, but they have it for a day instead of a few minutes, which even then is not enough sometimes)