# Newline, comment in .yml

**URL:** <https://forum.rasa.com/t/newline-comment-in-yml/41417>\
**Category:** Rasa Open Source\
**Created:** [March 18, 2021, 8:26am UTC](https://forum.rasa.com/t/newline-comment-in-yml/41417 "2021-03-18T08:26:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![laboratory](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@laboratory](https://forum.rasa.com/u/laboratory)\
**Post date:** [March 18, 2021, 8:26am UTC](https://forum.rasa.com/t/newline-comment-in-yml/41417/1 "2021-03-18T08:26:34Z")

</div>

Following the financial-demo project, I notice the block of intent, actions, slots, stories, etc are **not** separated by a new line or comment (all packed together).

I would like to find out if there’s a reason for this. Basically, **I will like to introduce newline and comments between every block** so my project can be neat, and readable. **Can I do this without affecting anyhing?**

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [March 18, 2021, 10:27am UTC](https://forum.rasa.com/t/newline-comment-in-yml/41417/2 "2021-03-18T10:27:46Z")

</div>

Yes, you can. This has more to do with valid YAML structures than Rasa.

Rasa only cares about the keys of the files, as long as the structure is valid.

---

<div class="post-metadata">

**Author:** ![laboratory](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@laboratory](https://forum.rasa.com/u/laboratory)\
**Post date:** [March 18, 2021, 10:57am UTC](https://forum.rasa.com/t/newline-comment-in-yml/41417/3 "2021-03-18T10:57:13Z")

</div>

Thank you for your response. I read a post saying something about **RasaX removing newlines and comments when invoked**. I know nothing about this so I want to ask if by chance you have a idea of what the post/statement meant.

Please see refernce post below

> [@Comments in MD/YML files](http://forum.rasa.com/t/comments-in-md-yml-files/27893):
>
> Is there a suggested way to add comments to the nlu.md, stories.md, domain.yml files without interfering with Rasa or them getting deleted by Rasa/Rasa X?

Thanks.

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [March 18, 2021, 5:56pm UTC](https://forum.rasa.com/t/newline-comment-in-yml/41417/4 "2021-03-18T17:56:13Z")

</div>

Yeah, sadly Rasa X removes the newlines, but the file still works with them.

You can even split the file into multiple ones. This applies for the domain, nlu, stories, and rules files.
