> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/thymeleaf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/thymeleaf/i.-using-thymeleaf/13-wen-ben-mo-ban-mo-shi/13.4-textual-parser-level-comment-blocks-removing-code.md).

# 13.4 文本解析器级别注释块：移除代码

类似于原型注释块，三种文本模版模式（`TEXT`，`JAVASCRIPT`与`CSS`）都能够通知Thymeleaf移除特别的`/*[- */`和`/* -]*/`标记之间的代码，就像这样：

```javascript
var x = 23;

/*[- */

var msg  = "This is shown only when executed statically!";

/* -]*/

var f = function() {
...
```

或者这样，在`TEXT`模式：

```
...
/*[- Note the user is obtained from the session, which must exist -]*/
Welcome [(${session.user.name})]!
...
```
