Comments are not available in java class files, so you cannot use them if you do not have source files. If comments mean anything to your application, use annotations; they are intended to be used by applications.
Otherwise, you will have to live in tools that scan source code for comments, perhaps like javadoc or tools mentioned in other answers.
source share