A block with a comment on the final line of a source block currently errors in an emacs-lisp block. This reduces down to the following at it's simplest: #+begin_src emacs-lisp # #+end_src Attached is a fix and regression tests Best, Martyn