if you want comments single line then put double forward slash before code of single line manually or by pressing Ctrl +/
example: //System.Out.println("HELLO");
and for multi-line comments, Select code how much you want to comments and then press
Shift+CTRL+/
Now for XML code comments use Select code first and then press Shift+CTRL+/ for both single line and multi-line comments