How can I remove the numbering of a line in equations?

In Latex, I can use \nonumber to remove the numbering of a line in equations. How can I do that in Typst?

You can define a custom function:

#let nonumber = math.equation.with(
  block: true,
  numbering: none,
)

#nonumber($a + b = c$)

If you want to remove the numbering for all equations you can probably use:

#set math.equation(numbering: none)