def is_block_comment(line):
    """ Entering/exiting a block comment """
    line = line.strip()
    if line == '"""' or (line.startswith('"""') and not line.endswith('"""')):
        return True
    if line == "'''" or (line.startswith("'''") and not line.endswith("'''")):
        return True
    return False