54 size_t comment_pos = str.find_first_of( comment );
55 if ( str.npos != comment_pos && comment_pos == str.find_first_not_of( ignore ) )
bool iscomment(const string &str, const string &ignore=" \t", const string &comment="#")
determine if the string is a comment.