Disable conditional comments support for resource inferring, close #1924, close #1930