def _append_comment(ret, comment):
    if len(ret['comment']):
        ret['comment'] = ret['comment'].rstrip() + '\n' + comment
    else:
        ret['comment'] = comment

    return ret
append ``comment`` to ``ret['comment']``
dataset/ETHPy150Open saltstack/salt/salt/states/kmod.py/_append_comment