> For the complete documentation index, see [llms.txt](https://v-community.gitbook.io/v-by-example/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v-community.gitbook.io/v-by-example/cn/examples/section_1/comment.md).

# 注释

V支持单行注释`//`和多行注释`/**/`。 它们应该用于记录代码，以便让其他用户知道代码是如何工作的。 它还可以用于临时注释代码，以后必须使用。

```
// 这是单行注释

/* 这是
*  多行注释
* /* 这也可以嵌套*/
*/
```
