# Rem

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Rem.htm)rem 语句用于插入备注或注释到脚本，或暂时关闭脚本语句而无需移除脚本。

语法：

Rem string

rem 和下一个分号 ; 之间的一切内容都视为注释。

在脚本中注释有两种替代性方法：

1. 通过将有问题的部分放置在 /\* 和 \*/ 之间可在脚本的任何位置创建注释（两个引号之间除外）。
2. 当在脚本中输入 // 时，同一行右方的所有文本都将成为注释。（请注意，//: 的例外情况是可以用作网址的一部分。）

参数：

Rem 参数

| 参数 | 说明 |
| --- | --- |
| string | 任意文本。 |

示例：

`Rem 
 ** This is a comment **;` `/* This is also a comment */` `// This is a comment as well`