--- title: Comment - Storefront API description: A comment on an article. api_version: 2025-10 api_name: storefront type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/objects/comment md: https://shopify.dev/docs/api/storefront/latest/objects/comment.md --- # Comment object Requires `unauthenticated_read_content` access scope. A comment on an article. ## Fields * author [Comment​Author!](https://shopify.dev/docs/api/storefront/latest/objects/CommentAuthor) non-null The comment’s author. * content [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) non-null Stripped content of the comment, single line with HTML tags removed. * truncate​At [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int) ### Arguments Truncates a string after the given length. *** * content​Html [HTML!](https://shopify.dev/docs/api/storefront/latest/scalars/HTML) non-null The content of the comment, complete with HTML formatting. * id [ID!](https://shopify.dev/docs/api/storefront/latest/scalars/ID) non-null A globally-unique ID. *** ## Map ### Fields and connections with this object * {}[Article.comments](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.comments) * <->[CommentConnection.nodes](https://shopify.dev/docs/api/storefront/latest/connections/CommentConnection#returns-nodes) * {}[CommentEdge.node](https://shopify.dev/docs/api/storefront/latest/objects/CommentEdge#field-CommentEdge.fields.node) *** ## Interfaces * [Node](https://shopify.dev/docs/api/storefront/latest/interfaces/Node) interface *** ## ||-Comment Implements ### Implements * ||-[Node](https://shopify.dev/docs/api/storefront/latest/interfaces/Node)