It is imperative that governments support the building blocks of the society they purport to serve. That does not imply that those building blocks require a government to support them.
I would argue that those marriages are better off in a supportive environment so it is mutually beneficial, but it is not a requirement.
In the other direction I don't think a society can last more than a handful of generations without marriage, thus from the governments perspective, it is absolutely imperative.