Fix comment parsing error in CommandManager