org-babel-tangle on * A
#+BEGIN_SRC elisp :tangle yes :noweb yes ;; A <<B>> #+END_SRC * COMMENT B #+BEGIN_SRC elisp :noweb-ref B ;; B #+END_SRC * COMMENT C #+BEGIN_SRC elisp :tangle yes ;; C #+END_SRC produces a file with A and B in it. Expected: Just A. Changing #+BEGIN_SRC elisp :noweb-ref B ;; B #+END_SRC to # #+BEGIN_SRC elisp :noweb-ref B # ;; B # #+END_SRC does yield the expected result.