---
title: comments
framework: testing
role: symbol
role_heading: Instance Property
path: testing/trait/comments
---

# comments

The user-provided comments for this trait.

## Declaration

```swift
var comments: [Comment] { get }
```

## Discussion

Discussion The default value of this property is an empty array.

## See Also

### Categorizing tests and adding information

- [tags(_:)](testing/trait/tags(_:).md)
