comments in app.config file....

  • Thread starter Thread starter Jessy Martin
  • Start date Start date
J

Jessy Martin

what is the syntax for comments in the XML file?

I have app.config and would like to write comments for each key value.

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<appSettings>

<add key="RUN_MODE" value="Y"/>

</appSettings>

</configuration>

Thanks,

Jessy
 
Hi Jessy ! :O)

it's the same syntax as HTML comments :
---
<!-- put your comments here -->
<!--
it can
be multiline
too
-->
 
Back
Top