Laravel: How to Do Comments in Blade Files?

Spread the love

The solution of comments in blade files is simple. You can write comments in your blade files you just need to read this article. Comments in Blade Files are very simple.

/* multiple line comments */

// single line comments

# simple comments :)

blade file comments: 

In blade syntax, a comment starts with {{– and ends with –}}

{{-- Blade comments rendered HTML output --}}

If you use an IDE that supports blade formatting

Demo:

Download Links

Scroll to Top