https://www.ncbi.nlm.nih.gov/m/pubmed/24659586/
significantly decrease testosterone secretion from LH/FSH-stimulated testes
https://www.ncbi.nlm.nih.gov/m/pubmed/21771888/
I usually look to Examine for things like this and it looks pretty conclusive that there are zero effects on serum levels of Testosterone, LH, or FSH even after prolonged use at double the effective dose. No effect on sperm, either. Makes sense when you consider when Melatonin tends to naturally occur and when levels of these hormones are at their peak, too.
https://examine.com/supplements/melatonin/
When supplemented to otherwise healthy men, 6 mg of melatonin does not appear to significantly influence testosterone levels. It may trend to attenuate the exercise-induced decrease in testosterone.[79] This same dose taken nightly for a month does not alter testosterone levels, luteinizing hormone levels or follicle stimulating hormone levels in otherwise healthy men.[165]
Despite the mechanisms of negative regulation, melatonin does not appear to actually influence testosterone levels in healthy men.