[SOLVED] Items, sitemap, rules, etc.: any way to have comments there?

Hi,

I am still new to openHAB (1.8.1), but I got already some basic stuff working. It would help me if I can include comments in the configuration files during the testing phase.

E.g. something similar as lines preceeded by “//” in C lang or by “#” in bash scripts or “;” in many linux config files. I have not found anything on wiki or in the demo files.

Is that possible? How?

// will do the job

3 Likes

Thanks.

1 Like

Anyway to have multiline comments? like old C //?

Yes!

/*
Several
lines
of
text
here
*/

works fine.

/*

*/

Thank you for prompt response. It worked.

1 Like