Improved topology parser to accept one line comments
Fixes: stats remain in an experiment even though it has already ended