Generalize test case to handle different asm syntax (# or // comments)