So easy
<dependency>
<groupId>com.denghb</groupId>
<artifactId>multi-line</artifactId>
<version>1.0.2</version>
</dependency>
public class MultiLineTest {
private static String A = ""/*{
Hello World!
}*/;
public static void main(String[] args) {
String a = ""/*{
I'm multi-line
}*/;
System.out.println(A);
System.out.println(a);
}
}
Hello World!
I'm multi-line
IntelliJ IDEA 2019.1.2 (Community Edition)