Fix inline comments breaking meaning of return

Fix for #59 in both node and python.