def METHOD_NAME(query):
    logging.debug("LoadComment: %r", query)
    key = '%s/%s' % (query.board, query.file)
    num = int(g_db.get(key) or '0')
    if query.start >= num:
        return None
    key += '#%08d' % (query.start + 1)
    data = g_db.get(key)
    logging.debug(" => %r", UnpackComment(data))
    return UnpackComment(data)