Can we have multiline comments in a Java properties file?

Rakesh Juyal picture Rakesh Juyal · Nov 11, 2010 · Viewed 83.8k times · Source

In a Java .properties file we can do single line comments with #.

Is there any way by which we can do multi-line comments?

Answer

Adrian Smith picture Adrian Smith · Nov 11, 2010

Unfortunately not! Java properties file only have single line # comments.