import re


def get_used_by_from_comments(lines: "list[str]") -> "tuple[int, list[str]]":
    """Read the module-used-by block comment from a module file.

    Args:
        lines (list[str]): The content of the module file as a list of strings.

    Returns:
        tuple[int, list[str]]: The integer indicates the last line number of
        the module-used-by block comment. The list indicates the assembly file
        names from the block comment.
    """
    line_count = len(lines)
    line_no = 0
    matches = []
    while line_no < line_count:
        line = lines[line_no].strip()
        match = re.match(r"^//\s*\*?(.+\.adoc)", line)
        if match:
            matches.append(match.group(1).strip())
        if not re.match((r"^//"), line):
            break
        line_no += 1
    return line_no, matches