def get_article_markup(tree):
    """
    Builds HTML markup from parsed tree to write to file, and strips any HTML comments.
    :param tree: A BeautifulSoup tree object
    :return: String
    """
    xml = '<?xml version="1.0" encoding="UTF-8"?>\n'
    markup = xml + str(tree)
    return markup