坐等 有容 公布答案。
2.7 Comments
1 The characters /* start a comment, which terminates with the characters */. These comments do not nest.
The characters // start a comment, which terminates with the next new-line character. If there is a form-
feed or a vertical-tab character in such a comment, only white-space characters shall appear between it and
the new-line that terminates the comment; no diagnostic is required. [Note: The comment characters //,
/*, and */ have no special meaning within a // comment and are treated just like other characters. Simi-
larly, the comment characters // and /* have no special meaning within a /* comment. ]
我翻译了一下:1 The characters /* start a comment, which terminates with the characters */. These comments do not nest.
The characters // start a comment, which terminates with the next new-line character. If there is a form-
feed or a vertical-tab character in such a comment, only white-space characters shall appear between it and
the new-line that terminates the comment; no diagnostic is required. [Note: The comment characters //,
/*, and */ have no special meaning within a // comment and are treated just like other characters. Simi-
larly, the comment characters // and /* have no special meaning within a /* comment. ]
2.7 注释
1 字符组 /* 启始一个注释,该注释止于字符组 */。这类注释不得嵌套。字符组 // 启始一个注释,该注释止于换行符(newline, NL, '\n')。
如果在这类注释中含有换页符(formfeed, FF, '\f')或垂向制表符(vertical-tab, VT, '\v'),则在它们与终止注释的换行符之间只允许出现
空白字符;没有诊断要求。[注:注释字符 //, /* 和 */ 在 // 注释中没有任何特殊含意,一个 // 注释仅将它们视作普通字符。相仿,注释
字符 // 和 /* 在 /* 注释中没有任何含意。]
1 字符组 /* 启始一个注释,该注释止于字符组 */。这类注释不得嵌套。字符组 // 启始一个注释,该注释止于换行符(newline, NL, '\n')。
如果在这类注释中含有换页符(formfeed, FF, '\f')或垂向制表符(vertical-tab, VT, '\v'),则在它们与终止注释的换行符之间只允许出现
空白字符;没有诊断要求。[注:注释字符 //, /* 和 */ 在 // 注释中没有任何特殊含意,一个 // 注释仅将它们视作普通字符。相仿,注释
字符 // 和 /* 在 /* 注释中没有任何含意。]