# Notes

WXS has three main methods of annotation.

Example code:

<!-- wxml -->
<wxs module="sample">
// Method 1: single line commenting

/*
方法二:多行注释
*/

/*
方法三:结尾注释。即从 /* 开始往后的所有 WXS 代码均被注释

var a = 1;
var b = 2;
var c = "fake";

</wxs>

In the above example, all the WXS code is commented out.

The only difference between Method 3 and Method 2 is that there is no* /terminator.