import json


def format_source(src):
    """Format source query as commented text."""

    j = json.loads(src)
    fmt_src = ""
    for i in json.dumps(j, indent=2).split("\n"):
        fmt_src += "#%s\n" % i
    return fmt_src