功能结束时的注释在Netbeans中的Alt + Shift + F之后移动到新行

I would like to put the function name as a comment at the end of the function braces.
However, when I use auto-format in netbeans, the comment move to a new line.....

Any suggestion for this case?

Although I would like to post the before-and-after screen shot for your reference, new user are not allow....
If there anything unclear in the question, please feel free to ask me to clear.

here is link

http://php.net/manual/en/language.basic-syntax.comments.php

try commenting like this:

 /* This is a multi line comment
       yet another line of comment */

what are you using the comment for?