how to delete comments on a repository in github
Navigate to the comment you'd like to edit.
In the upper-right corner of the comment, click , then click Edit.
In the comment window, delete the content you'd like to remove, then type [REDACTED] to replace it.