expose comment source range
add direction parsing to ParamComment