# Block Comment

A comment enclosed by /\* and \*/ that can cover several lines.

## What is **Block Comment** in Java?

**Block Comment** — A comment enclosed by /* and */ that can cover several lines.

```java
class GuestList {
    /*
     * These seats are reserved for speakers.
     */
    int reservedSeats = 4;
}
```

Level: Novice · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/novice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/block-comment
