So, today, again, I was working with jboss’ drools engine writing some more rules. My rule went something like this:

rule "Do stuff"
  when
    $obj : Class(name == "")
  then
    $obj.somethingElse.setValue("More Stuff")//I did more stuff
end

So according to the docs this should work fine….. well mine is broken. And non the less the //I did more stuff is what broke it. For reference, I am using Drools 5.1.0.M1, which, I know, is NOT the docs that I am pointing you to but I would assume that commenting should be the same!

DroolsDocs#Single_Line_Comment