bsim: added support for block comments (and updated editor mode)