As said, it's marking over the machine readable zone that's a big concern.
I'd probably try it nonetheless if crossing by land from Hong Kong, say. But flying in your first problem will be the check-in clerk, and experience suggests check-in clerks can be fussier than immigration agents. More money at risk on losing your ticket flying in, too.