Remove line comments before search for block comments
Testcase:
// /*
alert(1);
// */
(#7)
Small optimization: i++ -> ++i