The multiline (or, multiple-line) comments start with a forward slash followed by an asterisk (/*) and end with an asterisk followed by a forward slash (*/) and they are used to add comment on multiple lines.
The multiline comments are very useful when we want to put a long comment spreading across multiple lines or to comment out the complete code.
Syntax:
Consider the below syntax to write multiline comment in Java
/* Comment (line 1)
Comment (line 2) …
*/