I disagree. The reason is that it is perfectly legal to marry and leave. There has been no abuse. You are no more required to mention you will attend a wedding, even your own, than that you may visit a public library. A truthful more generic answer, coupled with a round trip ticket for a relatively short visit, is usually not a problem. If you've been saying you are visiting your boyfriend, then that is STILL true this time. (It won't be next time.)
You need not disclose every activity on your itinerary. If specific questions are asked, then of course, you must give truthful answers, but failing to mention a wedding as part of a legitimate "visit" is no different than failing to mention going to a movie or library.