# moonbitlang中，大段代码注释，怎么弄？

**URL:** <https://taolun.moonbitlang.com/t/topic/722>\
**Category:** 代码帮助\
**Tags:** moonbit-lang\
**Created:** [2024 年5 月 13 日 06:37 UTC](https://taolun.moonbitlang.com/t/topic/722 "2024-05-13T06:37:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

作者： ![pute2000](https://taolun.moonbitlang.com/letter_avatar_proxy/v4/letter/p/91b2a8/32.png) [@pute2000](https://taolun.moonbitlang.com/u/pute2000)\
发布日期： [2024 年5 月 13 日 06:37 UTC](https://taolun.moonbitlang.com/t/topic/722/1 "2024-05-13T06:37:31Z")

</div>

询问了moonbitAI，如图，

 ![image](https://taolun.moonbitlang.com/uploads/default/original/1X/688c3537b92dc2e7ebda39f6522055252d76883d.png)

另外查看官网文档，没有查到，大段代码注释怎么弄？

请问在moonbitlang中，怎样注释大段代码？moonbitlang中有类似这样的大段注释吗？

```auto
/*
xxxx
xxxx
xxxxx
*/

```

---

<div class="post-metadata">

作者： ![ChenYubin](https://taolun.moonbitlang.com/letter_avatar_proxy/v4/letter/c/ee59a6/32.png) [@ChenYubin](https://taolun.moonbitlang.com/u/ChenYubin)\
发布日期： [2024 年5 月 13 日 07:15 UTC](https://taolun.moonbitlang.com/t/topic/722/2 "2024-05-13T07:15:26Z")

</div>

暂时没有类似于C的多行注释支持。

如果是在顶层函数之间和文件顶部的注释，可以使用docstring:

```auto
/// comments
/// here

```

IDE会在换行时补上开头的`///`
