// KDL 2.0 values, properties, and type annotations
package "syntax-highlighting" version="6.30" active=#true optional=#null {
    numbers 42 -1_000 +3.14 6.02e23 0xff 0o755 0b1010 #inf #-inf #nan
    strings bare "quoted\nstring" #"raw \n string"# ##"raw "# string"##
    (http)server (url)"https://kde.org" port=(u16)8080

    multiline """
        first line
        second \u{2022} line
        """
    raw-multiline #"""
        contains """ without closing
        and literal \n escapes
        """#
}

// Comments may nest.
node /* outer
        /* nested */
        comment */ value=true old-null=null

continued "first" \
    // a comment is allowed after a continuation
    "second"

/- ignored-node value=1 {
    child
}
node /- ignored-argument 1 /- ignored-property=2 kept=3
node /- {
    ignored-child
} {
    kept-child
}

one-line { first; second key="value" }