Benny Builds It is ad-free and reader-supported. If you buy through my links, I may earn a commission.
When working on complex formulas or creating Notion templates for others, adding comments can be incredibly helpful.
Fortunately, with the launch of formulas 2.0, Notion introduced a new multi-line formula editor that includes the ability to add tabs and comments.
To add a comment in any Notion formula, simply enclose the comment text within /* */
symbols. This works for both single-line and multi-line comments.
Using Comments to Enhance Clarity in Notion Formulas
First and foremost, adding comments to formulas clarifies the logic and purpose behind each part, making it easier for others — and your future self — to understand, modify, and troubleshoot the formula.
Example #1: Single-Line Comment
if(
prop("Question") == "How To Notion Formula Comments",
"Check Benny Builds It", /* This is a single-line comment. */
false
)
Example #2: Multi-Line Comment
if(
prop("Question") == "How To Notion Formula Comments",
/* This is a
multi-line
comment. */
"Check Benny Builds It",
false
)
Using Comments to Disable Notion Formula Sections
Secondly, enclosing a section of a formula within /* */
symbols allows you to disable that section's functionality while keeping it in the formula.
This is especially helpful when experimenting with different formula approaches, as it lets you temporarily disable a section without permanently deleting it, making it easy to revert if needed.
Example #1: Single-Line Disabled Section
if(prop("Question") == "How To Notion Formula Comments",
"Check Benny Builds It",
/* if(prop("Answer") == "Found", true, false), */
false)
Example #2: Multi-Line Disabled Section
if(
prop("Question") == "How To Notion Formula Comments"
"Check Benny Builds It",
/* if(
if(prop("Answer") == "Found",
true,
false
),
*/
false
)
Get the Newsletter
Weekly updates with practical tips and tricks for using Notion.
Become a Notion Expert
✋ No spam, ever. Unsubscribe anytime.