def sanitize_comment(comment):
    """ Removes unwanted characters from a string that could be harmful. """

    unwanted = "\"();:\'"
    # Replacing unwanted characters with None
    sanitized = comment.translate({ord(i): None for i in unwanted})
    return sanitized