When using SASS comments inline, for instance next to a declaration, the whole formatting breaks apart.
Example:
.input {
font-family: inherit; // My awesome comment
line-height: 20px;
}
The code above gets transformed into:
.input {
font-family: inherit; // My awesome comment line-height: 20px;
}
Sometimes, it even destroys the new line formatting, for example:
.input {
font-family: inherit; // My awesome comment
line-height: 20px; // My other comment
}
The code above gets transformed into:
.input { font-family: inherit; // My awesome comment
line-height: 20px; // My other comment
}
Seems that CSS-style comments (/* ... */ instead of // ...) work fine though.