There is no EU-harmonised rule on melatonin in food supplements. It is governed nationally, and member states differ widely: some set a maximum dose, some set none, and some treat it as a medicine at any strength.
Slovakia sets no maximum in binding law. The instrument that governs food supplements, the relevant chapter of the Food Code, does not mention melatonin at all. What Slovakia has instead is an express published position from the public health authority.
It states that it accepts products containing 0.5 to 1 milligram of melatonin per quantified daily portion as food supplements, for two uses: relieving subjective feelings of jet lag, and helping to reduce the time taken to fall asleep, subject to the conditions attached to those authorised claims. Products above 1 milligram per daily dose should be regulated as medicines, and Slovak law does not permit a food to contain more.
The reasoning in that document runs in the other direction from its conclusion. It states that melatonin is a hormone, that in concentrated form it is neither a vitamin nor a mineral nor a substance with merely nutritional effect, and that because its principal mechanism is pharmacological and metabolic a melatonin product meets the definition of a medicine. It then accepts the 0.5 to 1 milligram range as food supplements notwithstanding, on the basis of the EU authorised health claims.
The market matches the conclusion. Melatonin food supplements at 1 milligram per daily dose are sold through the largest Slovak pharmacy chains in both oral spray and capsule form. Above the line, the prolonged-release 2 milligram product is a prescription medicine.