Fix #4495 Comment lines in multiquery

This fix is for master (4.3). It can't be applied on 4.2.