<!-- BEFORE SUBMITTING AN ISSUE: 1. Search for your issue on GitHub: https://github.com/jhipster/prettier-java/issues A large number of opened issues are duplicates of existing issues. If someone has already opened an issue for what you are experiencing, you do not need to open a new issue — please add a 👍 reaction to the existing issue instead. 2. We get a lot of requests for adding options, but Prettier is built on the principle of being opinionated about code formatting. This means we have a very high bar for adding new options. Find out more: https://prettier.io/docs/en/option-philosophy.html --> **prettier-plugin-java 2.11.0** **Input:** ```java // @formatter:off void main() { // @formatter:on List.of( // @formatter:off String.valueOf("abc") ); } ``` **Output:** ``` Error: Comment "// @formatter:off" was not printed. Please report this error! ``` **Expected behavior:**
Activity