---
title: "comment"

doc_type: static
doc_category: static
doc_version: v20260901
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/handlebars/helpers/syntax/comment'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/handlebars/helpers/syntax/comment.md'
---
# comment

使用 `comment` 注释代码。

标签内 `comment` 的任何文本都不会输出，任何 Handlebars 代码都会被解析，但不会执行。


## 用法

```handlebars
{{#comment}}
  content
{{/comment}}
```

## 例子
<Example>
```handlebars
{{#comment}}
  content
{{/comment}}
```
</Example>
