# Add comment to generated code file from expressions

**URL:** <https://discourse.julialang.org/t/add-comment-to-generated-code-file-from-expressions/71377>\
**Category:** General Usage\
**Tags:** comment\
**Created:** [November 12, 2021, 11:43am UTC](https://discourse.julialang.org/t/add-comment-to-generated-code-file-from-expressions/71377 "2021-11-12T11:43:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrey2185](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrey2185/32/9889_2.png) [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Post date:** [November 12, 2021, 11:43am UTC](https://discourse.julialang.org/t/add-comment-to-generated-code-file-from-expressions/71377/1 "2021-11-12T11:43:40Z")

</div>

hellow!

How can i add a comment to file with generated code based on expression

i use Expr(:line, “comment”) , but it is not a best solution , because

```julia
julia> expr = Expr(:line, "comment")
:(#= line comment =#)

```
