Running the latest wast2json  (1.0.34) on [comments.wast](https://github.com/WebAssembly/testsuite/blob/main/comments.wast) or [if.wast](https://github.com/WebAssembly/testsuite/blob/main/if.wast) fails with the following errors:


```sh
comments.wast:104:1: error: unexpected token "(", expected a binary module or a text module.
(assert_return (invoke "f1") (i32.const 2))
^
comments.wast:104:30: error: unexpected token (, expected EOF.
(assert_return (invoke "f1") (i32.const 2))
                             ^
if.wast:533:33: error: unexpected token (, expected ).
    (if (i32.const 1) (i32.eqz) (then) (else))
                                ^
if.wast:537:17: error: unexpected token "invoke", expected an instr.
(assert_return (invoke "empty" (i32.const 0)))
                ^^^^^^
```
Wast2Json fails on the testsuite
This is a GitHub Issue
repo:wabt
owner:WebAssembly
Title : Wast2Json fails on the testsuite
Issue date:

--- start body ---
Running the latest wast2json  (1.0.34) on [comments.wast](https://github.com/WebAssembly/testsuite/blob/main/comments.wast) or [if.wast](https://github.com/WebAssembly/testsuite/blob/main/if.wast) fails with the following errors:


```sh
comments.wast:104:1: error: unexpected token "(", expected a binary module or a text module.
(assert_return (invoke "f1") (i32.const 2))
^
comments.wast:104:30: error: unexpected token (, expected EOF.
(assert_return (invoke "f1") (i32.const 2))
                             ^
if.wast:533:33: error: unexpected token (, expected ).
    (if (i32.const 1) (i32.eqz) (then) (else))
                                ^
if.wast:537:17: error: unexpected token "invoke", expected an instr.
(assert_return (invoke "empty" (i32.const 0)))
                ^^^^^^
```
--- end body ---

None