def METHOD_NAME(line, file_handle):
    output = f"{line}\n"
    next_line = file_handle.peek()
    while next_line and next_line.startswith("//"):
        output += next_line
        # Advance the cursor and peek the next line.
        file_handle.advance()
        next_line = file_handle.peek()
    return output