GitHub GraphQL API (GitHub API v4) example to retrieve/get comments in Gist.
{
viewer {
gist(name: "78cc23f37e55e848905fc4224483763d") {
comments(last: 100) {
edges {
node {
author {
avatarUrl
login
}
id
createdAt
authorAssociation
body
}
}
}
}
}
}