In the example were YAML config put at the top of JS source file. I think a better option would be to use JS comments, so lambda can be tested standalone.
My lambdas mainly written in CoffeeScript, so it should optionally support CoffeeScript multiline comments too.