Please see
The Java Language Specification, Section 3.7, Comments.
Comments do not nest. The end of the nested comment is interpreted as the end of both the nested comment and the end of the enclosing comment. The end of the enclosing comment will then generate a compiler error.