# Multiline comments

**URL:** <https://forum.asana.com/t/multiline-comments/14522>\
**Category:** API & Developers\
**Created:** [22 January 2018 11:19 UTC](https://forum.asana.com/t/multiline-comments/14522 "2018-01-22T11:19:36Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmytro\_TOLSTYI](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/dmytro_tolstyi/32/15814_2.png) [@Dmytro\_TOLSTYI](https://forum.asana.com/u/Dmytro_TOLSTYI)\
**Post date:** [22 January 2018 11:19 UTC](https://forum.asana.com/t/multiline-comments/14522/1 "2018-01-22T11:19:36Z")

</div>

Hi,

Is it possible to create multiline comments?  
I’ve tried adding ‘\n’ to create a new line but it was escaped and I got a single line comment with ‘\n’ escpaped sequences.

Thank you.

---

<div class="post-metadata">

**Author:** ![Diakoptis](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/diakoptis/32/22726_2.png) [@Diakoptis](https://forum.asana.com/u/Diakoptis)\
**Post date:** [22 January 2018 11:36 UTC](https://forum.asana.com/t/multiline-comments/14522/2 "2018-01-22T11:36:37Z")

</div>

Hey @Dmytro_TOLSTYI and welcome at the Asana community,

you can use the `html_text` field to set the html of the comment. You can use the \n there to break lines.

---

<div class="post-metadata">

**Author:** ![Dmytro\_TOLSTYI](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/dmytro_tolstyi/32/15814_2.png) [@Dmytro\_TOLSTYI](https://forum.asana.com/u/Dmytro_TOLSTYI)\
**Post date:** [22 January 2018 11:49 UTC](https://forum.asana.com/t/multiline-comments/14522/3 "2018-01-22T11:49:41Z")

</div>

This is strange, because in docs it’s stated that `html_text` field is **Read-only**.  
Are you sure that we can set it during the creation of the story?

---

<div class="post-metadata">

**Author:** ![Diakoptis](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/diakoptis/32/22726_2.png) [@Diakoptis](https://forum.asana.com/u/Diakoptis)\
**Post date:** [22 January 2018 11:54 UTC](https://forum.asana.com/t/multiline-comments/14522/4 "2018-01-22T11:54:48Z")

</div>

yes. is undocumented but works 🙂

---

<div class="post-metadata">

**Author:** ![Dmytro\_TOLSTYI](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/dmytro_tolstyi/32/15814_2.png) [@Dmytro\_TOLSTYI](https://forum.asana.com/u/Dmytro_TOLSTYI)\
**Post date:** [22 January 2018 13:33 UTC](https://forum.asana.com/t/multiline-comments/14522/5 "2018-01-22T13:33:30Z")

</div>

Thank you, @Diakoptis! I will give it a try.

---

<div class="post-metadata">

**Author:** ![Dmytro\_TOLSTYI](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/dmytro_tolstyi/32/15814_2.png) [@Dmytro\_TOLSTYI](https://forum.asana.com/u/Dmytro_TOLSTYI)\
**Post date:** [24 January 2018 15:00 UTC](https://forum.asana.com/t/multiline-comments/14522/6 "2018-01-24T15:00:41Z")

</div>

@Diakoptis, how did it work for you?  
When I try to create a **story** with `html_text` like: `Text\nNextLine` or `Text<br>NextLine` I still get one line of comment with chars/tags being escaped.  
How did you manage to solve this issue?

---

<div class="post-metadata">

**Author:** ![Diakoptis](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/diakoptis/32/22726_2.png) [@Diakoptis](https://forum.asana.com/u/Diakoptis)\
**Post date:** [26 January 2018 11:44 UTC](https://forum.asana.com/t/multiline-comments/14522/7 "2018-01-26T11:44:12Z")

</div>

Sry for the late response.

Try to put the string in double quotes like that $text = “firstline\nSecond line”;

---

<div class="post-metadata">

**Author:** ![Dmytro\_TOLSTYI](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/dmytro_tolstyi/32/15814_2.png) [@Dmytro\_TOLSTYI](https://forum.asana.com/u/Dmytro_TOLSTYI)\
**Post date:** [1 February 2018 16:29 UTC](https://forum.asana.com/t/multiline-comments/14522/8 "2018-02-01T16:29:59Z")

</div>

Wow, good job @Diakoptis. I couldn’t believe that it might help but you were right. Using double quotes did solve the issue!  
Thank you for your help!  
I think this thread can be closed now.

---

<div class="post-metadata">

**Author:** ![Diakoptis](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/diakoptis/32/22726_2.png) [@Diakoptis](https://forum.asana.com/u/Diakoptis)\
**Post date:** [1 February 2018 16:42 UTC](https://forum.asana.com/t/multiline-comments/14522/9 "2018-02-01T16:42:11Z")

</div>

Glad I helped 🙂

---

<div class="post-metadata">

**Author:** ![Stan1](https://luna1.co/8d76cd.png) [@Stan1](https://forum.asana.com/u/Stan1)\
**Post date:** [4 May 2022 22:51 UTC](https://forum.asana.com/t/multiline-comments/14522/10 "2022-05-04T22:51:48Z")

</div>

I’m doing this with AmpScript and double quotes didn’t solve it. I also can’t get it to work from Postman. Any ideas?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 18:56 UTC](https://forum.asana.com/t/multiline-comments/14522/11 "2025-05-30T18:56:38Z")

</div>

Closed on 30 May 2025 18:56 UTC


