Sass Comments

Last Updated:

Sass Comments

Comments in SCSS work similarly to comments in other languages like JavaScript, C, Java, Python, etc. Sass provides two types of comments. They are

  • Single-Line-Comment - Here the comments start with //, and go until the end of the line. Single-Line-Comment is also called silent comment because they do not produce any CSS.
  • Multi-Line-Comment - Here the comments start with /* and end at the next */.

Example

SASS TO CSS CONVERTER
// This comment will not be include in your css /*This comment will be inclueded in your css*/ body { color: red; }

Syntax

// Single Line Comments // or /* Multi-line Comments */

Share this Page

Meet the Author