Make comments update Modification Time

Specifically, I need this for Issues. We make lots of Comments and would like the Issue’s modification time to update

Ideally, this would be a Custom Script – ie, on new comment, update document modification.

Would I make the script on Communication or Issue doctype? Help/thoughts?

This is close … but it cannot be an Email Alert. Instead, it must be Custom Script that just updates the Document’s time.