Want to try fastn for your company's website?
Book a Demo

Comments In `ftd` Files

Block comment

Writing `/` before any section will "comment out" that entire section.
/-- ds.code:
lang: ftd

fooo
Lang:
ftd

Header comment

Similarly any attribute can be commented out by prefixing it with `/`:
-- ds.code:
lang: ftd
/color: red

fooo
Lang:
ftd
Here we have commented out the `color: red` header.

Comment using `;;`

Similarly any attribute can be commented out by following with `;;`:
-- ds.code:
lang: ftd
;; color: red
Lang:
ftd
Here we have commented out the `color: red` header. `Note`: We can use `;;` at the start of the line anywhere in FTD and it will comment out that line.

Inline Comment using `;;`

Similarly any attribute can be commented out by following with `;;`:
-- ds.code:
lang: ftd
color: red ;; this is an inline comment
Lang:
ftd
Here we have added an `inline comment` after the `color: red` header.