using those two rom-coms as examples
That seems like a different issue. You know what's going to happen there because you've seen the same story a thousand times before. In those cases, secrecy would seem to do absolutely nothing to help the movie except maybe build up hype that will then become disappointment.