This is the official manual for the latest Org-mode release.
Controls inserting comments into tangled files. These are above and beyond whatever comments may already exist in the ‘src’ code block.
noThe default. Do not insert any extra comments during tangling.
linkWrap the ‘src’ code block in comments. Include links pointing back to the place in the Org file from where the code was tangled.
yesKept for backward compatibility; same as “link”.
orgNearest headline text from Org file is inserted as comment. The exact text that is inserted is picked from the leading context of the source block.
bothIncludes both “link” and “org” comment options.
nowebIncludes “link” comment option, expands noweb references, and wraps them in link comments inside the body of the ‘src’ code block.