I see what seems to be a simple single character substitution error in your script that could be all there is to this issue.
Your response (and confirmed by what I see in your ML_Server_Log.txt.zip) you have:
'--{ml ignore}'
but should have this instead:
'--{ml_ignore}'
The missing underscore character ('_') turns off any special meaning and turns this important 'ML tag' into a simple SQL comment that gets stripped out in the translation.