(start, config_lines)
return comment, idx
If we are reading a multiline comment, let's read it and find the index of the next block to be parsed.
    Return a tuple of the comment and the index of the next block
If we are reading a multiline comment, let's read it and find the index of the next block to be parsed.
    Return a tuple of the comment and the index of the next block
If we are reading a multiline comment let s read it and find the index of the next block to be parsed . Return a tuple of the comment and the index of the next block
def _parse_comment(start, config_lines):
    """If we are reading a multiline comment, let's read it and find the index of the next block to be parsed.
    Return a tuple of the comment and the index of the next block"""
    idx = start
    end = len(config_lines)
    comment = []
    # Get to end of multiline comment
    while idx < end:
        current_line = config_lines[idx]
        if re.match(INCORRECTLY_INDENTED_COMMENT_REGEX, current_line):
            content = current_line.lstrip(' ')[2:]
            comment.append(content)
            idx += 1
            continue
        break

    comment = '\n'.join(comment)
    # Get to next data
    while idx < end:
        current_line = config_lines[idx]
        if is_blank(current_line):
            idx += 1
            continue
        break
    return comment, idx
def _parse_comment ( start , config_lines ) : idx = start end = len ( config_lines ) comment = [ ] # Get to end of multiline comment while idx < end : current_line = config_lines [ idx ] if re . match ( INCORRECTLY_INDENTED_COMMENT_REGEX , current_line ) : content = current_line . lstrip ( ' ' ) [ 2 : ] comment . append ( content ) idx += 1 continue break comment = '\n' . join ( comment ) # Get to next data while idx < end : current_line = config_lines [ idx ] if is_blank ( current_line ) : idx += 1 continue break return comment , idx