def parse_ID_from_query_comment(comment):
    """
    Parses the NCBI-specific ID from the comment reported by the Mash match. The comment will look something like:

    [1870 seqs] NC_004354.4 Drosophila melanogaster chromosome X [...]

    and this function will return the "NC_004354.4" part of the comment. This function is -VERY- specific to the
    formatting of a particular Mash (RefSeq) database.

    PARAMETERS:
        comment (str): the query comment to parse

    RETURNS:
        id (str): the NCBI-specific ID parsed from the passed comment
    """

    line = comment.strip()

    # Check for the optional [# seqs] at the start of line:
    if line.startswith("["):
        tokens = line.split("] ")
        line = tokens[1].strip()  # Grabbing everything after the "[# seqs] "

    id = line.split(" ")[0]

    return id