def _serialize_notes(notes):
    """Compile the notes dictionary into a string format.

    Returns a multi-line string where each line corresponds to a key-value pair in the
    format: '{key}: {value}'
    """
    note_lines = [f"{key}: {value}" for key, value in notes.items()]
    return "\n".join(note_lines)