You mean that the property should be allowed to be both a string and a duration? Isn't that confusing?
We have similar at other places:

          # Use 0s to skip delay.
          stop-delay = 1s

      # negative number means infinite timeout. It is only used for type=Dispatcher
      # and only if mailbox-capacity > 0
      mailbox-push-timeout-time = 10s