added support for Object Reference [] syntax

fixes #22
fixed #20
be more permissive with the content of `-#` comments

fixes #18