You may need to completely disable Javadoc comment formatting.
Since Javadoc comments turn into HTML with a default Javadoc generator / fragment, it does not need extra spaces or line breaks. One space character is the same as many.
This is reflected in the Eclipse Javadoc format, which will consider it as part of the markup, which can be completely reformatted as long as the result looks like Javadoc. I donβt see a way to change the settings to keep this gap, without completely disabling the formatting.
source share