If you look through the code - all you have to do is to add another conditional statement as shown here (modified sections in bold):
Code:
if (strLine.StartsWith("[") && strLine.EndsWith("]"))
{
  currentRoot = strLine.Substring(1, strLine.Length - 2);
}
else
{
  [B]if (strLine.StartsWith("'")) {
    // assuming comments start with the apostrophe
[/]
...