# Rust and comments

Both single-line and multi-line comments are available in Rust.
Comments are also used to write user documentation. See the [spec of comments](https://doc.rust-lang.org/reference/comments.html) for more details.

{% embed include file="src/examples/intro/comments/src/main.rs" %}

---

* //
* /* */


