# Placing Unicode texts anywhere within Julia code

**URL:** <https://discourse.julialang.org/t/placing-unicode-texts-anywhere-within-julia-code/114888>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [May 29, 2024, 5:27am UTC](https://discourse.julialang.org/t/placing-unicode-texts-anywhere-within-julia-code/114888 "2024-05-29T05:27:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oOosys](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ooosys/32/209566_2.png) [@oOosys](https://discourse.julialang.org/u/oOosys)\
**Post date:** [May 29, 2024, 5:27am UTC](https://discourse.julialang.org/t/placing-unicode-texts-anywhere-within-julia-code/114888/1 "2024-05-29T05:27:49Z")

</div>

I am migrating from Python where I had been using triple quoted strings of two kinds to insert multi-line comments and one-line strings of both kinds which were all differently highlighted anywhere in the code as standalone strings are allowed syntax. How to accomplish the same in Julia? I mean being able to put anywhere in the code any Unicode text with as less of prefix and postfix characters as possible?

---

<div class="post-metadata">

**Author:** ![sgaure](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sgaure/32/14779_2.png) [@sgaure](https://discourse.julialang.org/u/sgaure)\
**Post date:** [May 29, 2024, 5:35am UTC](https://discourse.julialang.org/t/placing-unicode-texts-anywhere-within-julia-code/114888/2 "2024-05-29T05:35:07Z")

</div>

You can use line comments and region comments.

```julia
# this is á comment
a = 14
#=
this is a cômment
over several lines 
=#
b = a + #=ånywhere in the code=# 42

```

---

<div class="post-metadata">

**Author:** ![oOosys](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ooosys/32/209566_2.png) [@oOosys](https://discourse.julialang.org/u/oOosys)\
**Post date:** [May 29, 2024, 10:21pm UTC](https://discourse.julialang.org/t/placing-unicode-texts-anywhere-within-julia-code/114888/3 "2024-05-29T22:21:54Z")

</div>

```julia
julia> 5 + #=== #== #= addition here =# ==# ===# 5 
10

```

suggests that nesting of higher level comments is supported in Julia. Is this conclusion correct? Is there maybe an alternative syntax using a less obtrusive characters for invoking a comment like for example: ·˙ some comment ˙· ?

---

<div class="post-metadata">

**Author:** ![Jeff\_Emanuel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeff_emanuel/32/15440_2.png) [@Jeff\_Emanuel](https://discourse.julialang.org/u/Jeff_Emanuel)\
**Post date:** [May 29, 2024, 11:01pm UTC](https://discourse.julialang.org/t/placing-unicode-texts-anywhere-within-julia-code/114888/4 "2024-05-29T23:01:20Z")

</div>

> [@oOosys](#):
>
> `5 + #=== #== #= addition here =# ==# ===# 5 `

Yes, `#= =#` comments nest. [Punctuation · The Julia Language](https://docs.julialang.org/en/v1/base/punctuation/)  
Unlike Lua, the extra ='s have no significance to the parser.

```julia
julia> 5 + #=== #== #= addition here =# ==# ===# 5
10

julia> 5 + #= #= #= addition here =# =# =# 5
10

julia> 5 + #= #== #=== addition here =# ==# ===# 5
10

```
