I've disclosed (trying to avoid another burn-out from pretending too hard to be NT) and not sure yet whether that's going to be an overall benefit or handicap - it's a work in progress.
Disclosure is not a simple, one-off process, you see. You can't just tell people you have an ASD and then expect everything to be OK. It's more a long-term process of educating people about the issues you have as they arise at work. And it has to be done in a constructive way, so that for every issue you have, you can offer a simple solution or work-around. You need to have the self-confidence to be able to advocate for your needs, but without seeming "needy", if that makes sense. It's a bit of a balancing act.
I'm still working through the process with my colleagues - I work with several different teams, and have generally told each of the team managers, as I felt they needed to know, but not yet other colleagues. I suspect that I've told enough people now that it's become an open secret, which probably means I'm going to be dealing with changes in colleagues' manner and expectations towards me. Not sure how that's going to pan out. We'll see.
If I were younger, and just starting out in my career, I would probably avoid disclosing. Because there's no doubt it's a risk, and you have to have enough skill and experience at the job to make them hesitate before letting you go. You need to give them something positive to judge you on, besides the ASD. I know it's harsh and unfair to those with little work experience, but that's the way it is.