Diagnosis of NF1 in neonates is primarily based on clinical criteria. Genetic testing can confirm the diagnosis by identifying mutations in the NF1 gene. Diagnostic criteria include the presence of multiple café-au-lait spots, freckling in specific areas, neurofibromas, Lisch nodules, and a family history of NF1.