--- title: REST API endpoints for gist comments allowTitleToDifferFromFilename: true shortTitle: Comments intro: Use the REST API to view and modify comments on a gist. versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' ghes: '*' topics: - API autogenerated: rest --- ## About gist comments You can use the REST API to view and modify comments on a gist. For more information about gists, see [AUTOTITLE](/get-started/writing-on-github/editing-and-sharing-content-with-gists).