# 标题与注释

## 标题

使用 `#` 字符来指示一个标题行。标题行会加粗，并且不会显示答案（即使标题中包含数字）。

```
# 这是一个标题
```

{% hint style="info" %}
您可以从 Soulver 的样式偏好设置中自定义标题的大小、颜色（以及 `#` 符号本身的颜色）。

此外，在导出为 PDF 或打印时，还有一个选项可以去除标题符号。
{% endhint %}

## 注释

如果您希望 Soulver 忽略某一行中的特定数字，请使用注释，例如标签或双斜杠注释。

### 标签：

在行首使用冒号 `:` 的标签：

```
128 GB iPhone 16: $999 | $999.00
```

{% hint style="info" %}
标签会自动格式化为**粗体**。
{% endhint %}

### // 双斜杠注释

双斜杠后的所有数字都会被忽略：

```
// 1 + 2 | 
1 + 2    | 3
```

您也可以在行尾添加斜杠注释：

```
我为衣服花了 $128 + $45 // 日期为 2019-10-02 | $173.00
```

### (括号注释)

括号内带有额外注释词的数字会被忽略：

```
$999 (适用于 iPhone 16) | $999.00
```

### "行内注释"

您可以在表达式中间用引号将数字“引用”出来，使其被忽略：

```
Boing "747" 的价格是 $386.8M | $386.8M
```

#### 注释样式总结

| 类型  | 语法            | 说明                            |
| --- | ------------- | ----------------------------- |
| 标签  | **123:**      | 有时需要在冒号后添加空格，以区分时钟时间（如 14:45） |
| 双斜杠 | // 123        | 常用于软件语言。按 ⌘-/ 可自动以此样式注释掉整行。   |
| 括号  | (123 comment) | 确保括号内有相应的注释词，以防止隐式乘法。         |
| 行内  | "123"         |                               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.soulver.app/zh/yu-fa-can-kao/headings-and-comments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
