Fix model['config'] can be null in comment macro (#499)