All you've to do is code comments.

85 1

Sometimes you need to comment out a piece of code, which is commonly used:

//适合注释单行代码
/*
适合注释段落代码
适合注释多行连续的代码
*/

For the second, the paragraphs and paragraphs have to be deleted and entered at each time, which is very difficult to do without knowing.

9 Answers

70 2

Second, I usually use this way.

/**
 * 适合注释段落代码
 * 适合注释多行连续的代码
 */
106 1

A code annotation method was originally looked up for debugging:

/** *
适合注释段落代码
适合注释多行连续的代码
**/

If you want to restore the code that's commented out, you can add two /.

/** */
适合注释段落代码
适合注释多行连续的代码
/**/
55 0
52 5
...