If in a script file if you include this line :
#test
And run the script it will display :
Comment: #test
But if you add this line (with a space after the #) :
# test
It will display :
Comment: #
Unknown tag: test
In xmacroplay.cpp at line 338 we see :
if (ev[0]=='#')
{
cout << "Comment: " << ev << endl;
continue;
}
Maybe you could also add this to make it work :
else if (!strcasecmp("#",ev))
{
cin >> b;
cout << "Comment: " << b << endl;
continue;
}